
#ifndef  __OS_H__
#define  __OS_H__

#ifdef _cplusplus
extern "c"{
#endif
#include "typedef.h"
#include "Queue.h"
#include "IicDriverTester.h"

typedef void (*tSleep)(int times);
extern tSleep mSleep;
extern unsigned int sleep (unsigned int ticks);

typedef void (*SetLedStateFun)(Bool isOn);
extern SetLedStateFun Set_LedAlarm_State_Ex;
extern SetLedStateFun Set_LedBlue_State_Ex;

typedef int  (*I2cDeviceReadFun)(uint8 ChanNum,uint8 *SendData,uint8 SendLen,uint8 *RecvData,uint8 RecvLen);
extern I2cDeviceReadFun I2c_Device_Read_Ex;

#define MAX_FRUINFO_SIZE 8192
extern uint8 g_FruDeviceBuffer[MAX_FRUINFO_SIZE];

#define MAX_IICDRIVER 2
extern Queue	g_MmcToCmQueue;
extern Queue	g_CmToMmcQueue;
extern IicDriver g_MmcIpmbLIicDriver;
extern IicDriver g_IicDriverLocal;
extern unsigned char  g_Owerner_IPMB_Addr;

void Hw_Init();

#ifdef _cplusplus
}
#endif

#endif 

